package com.manage.service;

import com.clms.common.R;
import com.manage.pojo.entity.TbCoupon;
import com.manage.pojo.vo.CouponVo;

/**
 * @program: clms-third
 * @description:
 * @author: 林子洁
 * @create: 2021-07-23 20:34
 **/
public interface CouponService {

    R initCoupon(Integer currentPage, Integer pageSize, CouponVo couponVo);

    R insertCoupon(TbCoupon tbCoupon);

    R updateCoupon(TbCoupon tbCoupon);

    R deleteCoupon(Integer id);

    R selectByCouponId(Integer id);

    R selectByName(String name);
}
